inherited FrmCaixasCad: TFrmCaixasCad
  Left = 221
  Top = 143
  Caption = 'Fluxo de Caixa - Cadastro de Caixas'
  ClientHeight = 389
  ClientWidth = 845
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel1: TPanel
    Top = 352
    Width = 845
  end
  inherited Panel2: TPanel
    Width = 845
    Height = 352
    inherited Panel3: TPanel
      Width = 843
      Caption = 'Caixas'
      inherited GroupBox1: TGroupBox
        Left = 764
      end
    end
    inherited Panel4: TPanel
      Width = 843
      Height = 310
      object Shape1: TShape [0]
        Left = 390
        Top = 22
        Width = 93
        Height = 21
        Brush.Style = bsClear
      end
      object Label4: TLabel [1]
        Left = 97
        Top = 9
        Width = 28
        Height = 13
        Caption = 'Nome'
        FocusControl = DBEditNome
      end
      object Label5: TLabel [2]
        Left = 390
        Top = 9
        Width = 27
        Height = 13
        Caption = 'Saldo'
      end
      object Label6: TLabel [3]
        Left = 11
        Top = 9
        Width = 76
        Height = 13
        Caption = 'C'#243'digo do caixa'
        FocusControl = edt_caixa
      end
      object Label7: TLabel [4]
        Left = 491
        Top = 7
        Width = 63
        Height = 13
        Caption = 'Observa'#231#245'es'
        FocusControl = DBMemoObs
      end
      object Label2: TLabel [5]
        Left = 11
        Top = 47
        Width = 41
        Height = 13
        Caption = 'Empresa'
      end
      object DBTextSaldo: TDBText [6]
        Left = 394
        Top = 25
        Width = 88
        Height = 17
        Hint = 'Saldo do Caixa'
        DataField = 'CXC_SALDO'
        DataSource = DtSrc
      end
      object Label1: TLabel [7]
        Left = 391
        Top = 50
        Width = 93
        Height = 13
        Caption = 'Pr'#243'ximo documento'
      end
      inherited DBGrid1: TDBGrid
        Top = 94
        Width = 835
        Height = 193
        TabOrder = 8
        Columns = <
          item
            Expanded = False
            FieldName = 'IDF_EMPRESA'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'CODIGO'
            Title.Caption = 'C'#211'DIGO'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'NOME'
            Width = 123
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'PROXIMO_DOCUMENTO'
            Title.Caption = 'PROXIMO DOCUMENTO'
            Width = 130
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'SALDO'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'IDF_CAIXA'
            Visible = False
          end
          item
            Expanded = False
            FieldName = 'EMPRESA'
            Visible = True
          end>
      end
      inherited SbHints: TStatusBar
        Top = 287
        Width = 835
      end
      object DBEditNome: TDBEdit
        Left = 97
        Top = 23
        Width = 289
        Height = 21
        Hint = 'Nome do Caixa'
        DataField = 'CXC_NOME'
        DataSource = DtSrc
        TabOrder = 1
      end
      object edt_caixa: TDBEdit
        Left = 11
        Top = 23
        Width = 82
        Height = 21
        Hint = 'C'#243'digo do Caixa'
        DataField = 'CXC_CODIGO'
        DataSource = DtSrc
        TabOrder = 0
        OnExit = edt_caixaExit
      end
      object DBMemoObs: TDBMemo
        Left = 488
        Top = 21
        Width = 348
        Height = 64
        Hint = 'Observa'#231#245'es'
        DataField = 'CXC_OBSERVACAO'
        DataSource = DtSrc
        TabOrder = 5
      end
      object edt_empresa: TDBEdit
        Left = 11
        Top = 62
        Width = 41
        Height = 21
        Hint = 'C'#243'digo da Empresa'
        DataField = 'CXC_EMPRESAIDF'
        DataSource = DtSrc
        TabOrder = 2
        OnExit = edt_empresaExit
      end
      object btnPesqEmpresa: TButton
        Left = 53
        Top = 62
        Width = 21
        Height = 21
        Caption = '...'
        Enabled = False
        TabOrder = 3
        TabStop = False
        OnClick = btnPesqEmpresaClick
      end
      object stEmpresa: TStaticText
        Left = 75
        Top = 62
        Width = 313
        Height = 21
        AutoSize = False
        BorderStyle = sbsSingle
        TabOrder = 7
      end
      object DBEditSequencial: TDBEdit
        Left = 391
        Top = 63
        Width = 93
        Height = 21
        Hint = 'Sequencial do documento'
        DataField = 'CXC_SEQDOCUMENTO'
        DataSource = DtSrc
        TabOrder = 4
      end
    end
  end
  inherited DtSrc: TDataSource
    DataSet = SQLC_CAIXAS
    Left = 136
    Top = 8
  end
  inherited SQLC_ConsultaDbGrid: TSQLClientDataSet
    CommandText = 
      'SELECT CXC.CXC_EMPRESAIDF IDF_EMPRESA, CXC.CXC_CODIGO CODIGO, CX' +
      'C.CXC_NOME NOME, CXC.CXC_SEQDOCUMENTO PROXIMO_DOCUMENTO, CXC.CXC' +
      '_SALDO SALDO, CXC.CXC_CAIXAIDF IDF_CAIXA, EMP.EMP_FANTAS EMPRESA' +
      ' FROM CAIXAS_CADASTRO CXC INNER JOIN'#9'EMPRESAS EMP ON CXC.CXC_EMP' +
      'RESAIDF = EMP.EMP_CODIGO'
  end
  object SQLC_CAIXAS: TSQLClientDataSet
    CommandText = 'select * from CAIXAS_CADASTRO WHERE CXC_CAIXAIDF = :CXC_CAIXAIDF'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <
      item
        DataType = ftInteger
        Name = 'CXC_CAIXAIDF'
        ParamType = ptInput
      end>
    DBConnection = DtmGeral.ConexaoBanco
    Left = 81
    Top = 9
    object SQLC_CAIXASCXC_CAIXAIDF: TIntegerField
      FieldName = 'CXC_CAIXAIDF'
      Required = True
    end
    object SQLC_CAIXASCXC_EMPRESAIDF: TSmallintField
      FieldName = 'CXC_EMPRESAIDF'
      Required = True
    end
    object SQLC_CAIXASCXC_CODIGO: TStringField
      FieldName = 'CXC_CODIGO'
      Required = True
      Size = 3
    end
    object SQLC_CAIXASCXC_NOME: TStringField
      FieldName = 'CXC_NOME'
      Required = True
      Size = 30
    end
    object SQLC_CAIXASCXC_SEQDOCUMENTO: TIntegerField
      FieldName = 'CXC_SEQDOCUMENTO'
      Required = True
    end
    object SQLC_CAIXASCXC_SALDO: TFMTBCDField
      FieldName = 'CXC_SALDO'
      Precision = 15
      Size = 2
    end
    object SQLC_CAIXASCXC_OBSERVACAO: TMemoField
      FieldName = 'CXC_OBSERVACAO'
      BlobType = ftMemo
      Size = 1
    end
  end
end
